package org.jeecg.modules.monitoring.j_monitoring.service.impl;

import org.jeecg.modules.monitoring.j_monitoring.entity.MBatteryPack;
import org.jeecg.modules.monitoring.j_monitoring.mapper.MBatteryPackMapper;
import org.jeecg.modules.monitoring.j_monitoring.service.IMBatteryPackService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 蓄电池组
 * @Author: xiaoyq
 * @Date:   2023-01-14
 * @Version: V1.0
 */
@Service
public class MBatteryPackServiceImpl extends ServiceImpl<MBatteryPackMapper, MBatteryPack> implements IMBatteryPackService {

	@Autowired
	private MBatteryPackMapper mBatteryPackMapper;

	@Override
	public List<MBatteryPack> selectByMainId(String mainId) {
		return mBatteryPackMapper.selectByMainId(mainId);
	}
}
